home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / trueSpace 7.6 / tS761B8Std.exe / {app} / Scripts / MaterialEditor / Bricks / Functions / sinh.HLSL.Brick.xml < prev    next >
Extensible Markup Language  |  2008-06-10  |  1KB  |  27 lines

  1. <?xml version="1.0" encoding="utf-8" ?> 
  2. <ME_BRICK GUID="{A09781AB-6078-4F0B-A14D-2D141B46D4C0}" Name="RtSinH" GUIName="Sine Hyperbolic" Description="Compute per component hyperbolic sine [sinh]">
  3.     <ME_BRICK_INPUTPARAM GUID="{0360945C-51D5-4E76-AE53-041DC37CF07B}" Name="Input" Type="RtNumeric"/>
  4.     <ME_BRICK_OUTPUTPARAM GUID="{ED8F5FB5-69E8-4896-AE18-6CE7DEF93BBC}" Name="Result" Type="RtNumeric"/>
  5.     <ME_BRICK_CODE><![CDATA[
  6.         void RtSinH(in RtFloat Input, out RtFloat Result) {
  7.             Result = rtx_SinH(Input);
  8.         }
  9.  
  10.         void RtSinH(in RtFloat3 Input, out RtFloat3 Result) {
  11.             Result = rtx_SinH(Input);
  12.         }
  13.  
  14.         void RtSinH(in RtFloat4 Input, out RtFloat4 Result) {
  15.             Result = rtx_SinH(Input);
  16.         }
  17.  
  18.         void RtSinH(in RtFloat3x3 Input, out RtFloat3x3 Result) {
  19.             Result = rtx_SinH(Input);
  20.         }
  21.  
  22.         void RtSinH(in RtFloat4x4 Input, out RtFloat4x4 Result) {
  23.             Result = rtx_SinH(Input);
  24.         }
  25.     ]]></ME_BRICK_CODE>
  26. </ME_BRICK>
  27.